package com.ymm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ymm.domain.entity.Role;
import com.ymm.domain.entity.UserRole;

import java.util.List;


/**
 * 用户和角色关联表(UserRole)表服务接口
 *
 * @author 椰咩咩咩
 * @since 2023-04-03 04:16:23
 */
public interface UserRoleService extends IService<UserRole> {

    List<Long> getRIdByUserId(Long id);

    void deleteRoleByUser(UserRole userRole);
}

